/*
 * Copyright (C) 2019 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
  background-color:black;
  margin: 0;
}

/* begin sidebar */

.wrapper .sidebar{
  background: rgb(1, 14, 21);
  position: fixed;
  top: 0;
  left: 0;
  width: 225px;
  height: 100%;
  transition: all 0.5s ease;
}

#device-selector {
  color: whitesmoke;
}

#device-selector ul {
  list-style: none;
  text-decoration: none;
  padding: 0;
}

#device-selector li.device-entry > div {
  margin: 0 10px 10px 10px;
  border-radius: 5px;
  padding: 3px;
}

#device-selector li.device-entry  div:hover {
  background-color: rgb(2, 28, 42);
}

#device-selector .device-entry .device-label {
  overflow: hidden;
  display: inline-block;
  margin: 0 0 2px 0;
}

#device-selector .device-entry .radio {
  display: inline-block;
  cursor: pointer;
}

.radio.checked .button-show {
  display: none;
}

.radio.checked .button-hide {
  display: inline;
}

.radio.unchecked .button-show {
  display: inline;
}

.radio.unchecked .button-hide {
  display: none;
}

#device-selector .device-entry .button-launch {
  float: right;
  text-decoration: none;
  color: inherit;
  margin-top: 3px;
}

#device-selector .device-entry .button {
  margin-right: 5px;
}

#device-selector > h1 {
  text-align: center;
}

#device-selector #refresh-list {
  cursor: pointer;
}

#device-selector #show-all {
  display: block;
  margin: auto;
}

/* end sidebar */

/* begin devices */

#devices {
  position: fixed;
  top: 0;
  left: 225px;
  width: calc(100% - 225px);
  height: 100%;
  overflow: auto;
}

#devices .device-viewer {
  display: inline-block;
  margin: 10px;
  width: 1000px;
  max-width: 100%;
  height: 1000px;
  max-height: 80%;
}

#devices .device-viewer h3 {
  color: white;
  margin: 10px 0 0 10px;
  width: 100%;
  border-bottom: 1px solid gray;
}

#devices .device-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* end devices */
